/**
 * 
 */
package cn.java.innerclass;

/**
* 视频类
* @author 攀博课堂
* @version v1.0
*/
public class Video {
	
	//视频名称
	private String name;
	//视频地址
	private String address;

	//视频类型
	private String type;
	
	public Video(String name,String address,String type) {
		this.name = name;
		this.address = address;
		this.type = type;
	}
	//...

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return "Video [name=" + name + ", address=" + address + ", type=" + type + "]";
	}
	
	

}
